import { ipcRenderer } from 'electron'

export default {
  post(url: string,params: any = null){
    return ipcRenderer.invoke(url,JSON.stringify(params))
  }
}